<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>
<input id="islogin" value="<s:property value="#session.islogin"/>" type="hidden" />
<s:if test="#session.islogin==1">
欢迎您,<s:property value="#session.nickname"/>   <a style="cursor:pointer;" onclick='toQzoneLogout()'>退出</a>
<input id="openid" value="<s:property value="#session.openid"/>" type="hidden" />
</s:if>
<s:else>
<a style="cursor:pointer;" onclick='toQzoneLogin()'><img src="img/qq_login.png" /></a>
</s:else>
<script>
function toQzoneLogin(){
	var A=window.open("login","TencentLogin", "width=450,height=320,menubar=0,scrollbars=1,resizable=1,status=1,titlebar=0,toolbar=0,location=1");
	} 
</script>
<script>
function toQzoneLogout(){
	var A=window.open("logout","TencentLogin", "width=450,height=320,menubar=0,scrollbars=1,resizable=1,status=1,titlebar=0,toolbar=0,location=1");
	} 
</script>

<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript" src="js/tracking.js"></script>